package top.chmin.project.cloud.common.dict.data.auto;

// field import auto
// #bind.field.dictOrder#

import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RestController;
import top.chmin.project.cloud.common.entity.Page;

/**
 * chmin
 * 2023-12-27 15:50:18
 * cloud-builder
 */
@RestController
public class DictDataController implements
// entity selectInterface auto
// entity searchInterface auto
        DictDataSave,
        DictDataUpdateById,
        DictDataDeleteById,
        DictDataSelectById,
        DictDataSelectPage {

    @Resource
    DictDataService service;

    @Override
    public int save(DictDataSave.Param param) {
        return service.save(param);
    }

    @Override
    public int updateById(DictDataUpdateById.Param param) {
        return service.updateById(param);
    }

    @Override
    public int deleteById(DictDataDeleteById.Param param) {
        return service.deleteById(param);
    }

    @Override
    public DictDataSelectById.Result selectById(DictDataSelectById.Param param) {
        return service.selectById(param);
    }

    @Override
    public Page<DictDataSelectPage.Result> selectPage(DictDataSelectPage.Param param) {
        return service.selectPage(param);
    }

// entity select auto

// entity search auto

}
